package com.zerui.manager.web;

import com.zerui.cola.dto.PageResponse;
import com.zerui.cola.dto.Response;
import com.zerui.manager.web.cmd.AccessAuthDeviceBindCmd;
import com.zerui.manager.web.cmd.AccessAuthDeviceQryCmd;
import com.zerui.manager.web.vo.AccessAuthDevicePageVO;
import com.zerui.manager.web.vo.AccessAuthDeviceVO;

import java.util.List;
import java.util.Set;

/**
 * @Author wh
 * @create_time 2023-08-23 11:07
 */
public interface AccessAuthDeviceService {

	PageResponse<AccessAuthDevicePageVO> getPageList(AccessAuthDeviceQryCmd accessAuthDeviceQryCmd);

    Response add(AccessAuthDeviceBindCmd accessAuthDeviceBindCmd);

	Response delete(AccessAuthDeviceBindCmd accessAuthDeviceBindCmd);

    Response sync();

    void deleteDeviceById(Long deviceId);

    AccessAuthDeviceVO selectByDeviceId(Long deviceId);

    List<AccessAuthDeviceVO> selectByDeviceIds(Set<Long> deviceIds);
}
